package org.bp.ioc.bean;

import java.util.Map;

import org.bp.ioc.utils.CollectionUtils;

public class Param {
    private Map<String,Object> map;

    public Param(Map<String, Object> map) {
        this.map = map;
    }

    public String getString(String name){
        return (String) CollectionUtils.getObject(map,name);
    }

    public Map<String, Object> getMap() {
        return map;
    }
}
